import request from '@/utils/request'

// 查询身份审核列表
export function listSystemVerification(query) {
  return request({
    // url: '/system/systemVerification/list',
    url: '/backstage/sys/find/identity',
    method: 'get',
    params: query
  })
}

// 查询身份审核详细
export function getSystemVerification(id) {
  return request({
    url: '/system/systemVerification/' + id,
    method: 'get'
  })
}

// 新增身份审核
export function addSystemVerification(data) {
  return request({
    url: '/system/systemVerification',
    method: 'post',
    data: data
  })
}

// 修改身份审核
export function updateSystemVerification(data) {
  return request({
    // url: '/system/systemVerification',
    url: '/backstage/sys/update/identity',
    method: 'post',
    data: data
  })
}

// 删除身份审核
export function delSystemVerification(id) {
  return request({
    url: '/system/systemVerification/' + id,
    method: 'delete'
  })
}
